import { _decorator, Component, Node } from 'cc';
import { SinglePallet } from './SinglePallet';
const { ccclass, property } = _decorator;

@ccclass('ClearPallet')
export class ClearPallet extends SinglePallet {

    /**
     * 初始化
     */
    public Init() {
        this.Pallet.active = false;
    }

    /**
     * 显示
     */
    public IamShow() {
        this.Pallet.active = true;
    }

    /**
     * 放到我身上了
     */
    public PutOnMe(_foodeindex: number[]) {
        this.FoodIndex = _foodeindex.concat();
        this.UpdateShow();
    }

}


